<div class="grid-wrap">
    <table data-id="grid"></table>
</div>
<div data-id="nsdb" class="nsdb">
    <sinux:button permission="directory:data:add" dataKey="add" dataIcon="fa fa-plus fa-lg"/>
    <sinux:button permission="directory:data:delete" dataKey="del" dataIcon="fa fa-trash fa-lg"/>
    <a data-href="${pageContext.request.contextPath}/app/api/directory/toSearch" data-key="search" iconCls="fa fa-search fa-lg"
       plain="true">搜索</a>
    <a data-href="#" data-key="search_all" iconCls="fa fa-refresh fa-lg" plain="true">搜索全部</a>
</div>
<div data-id="directory_template">
    <sinux:button permission="directory:data:update" dataKey="edit" dataIcon="fa fa-edit fa-lg" dataId="{{id}}"/>
    <a data-href="#" data-id="{{id}}" data-key="view" iconCls="fa fa-eye fa-lg" plain="true">查看</a>
</div>

